package com.nobug.arrange.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;

import java.io.Serializable;
import java.math.BigInteger;

/**
 * @Auther: wangweilin
 * @Date: 2021/8/17 15:52
 * @Description:
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode()
@TableName("arr_teachertoclasses")
public class TeacherToClassesEntity implements Serializable {
    private static final long serialVersionUID = -6641431174691542934L;
    @TableId(
            value = "id",
            type = IdType.AUTO
    )
    private BigInteger id ;
    //教师编号
    @TableField("teacherCode")
    private String teacherCode;
    //班级code
    @TableField("classCode")
    private String classCode;
}
